package com.hfjyz.registration.dao;

import java.util.List;

import com.hfjyz.registration.command.OfficeListCommand;
import com.hfjyz.registration.model.Exam;
import com.hfjyz.registration.model.Office;

public interface OfficeDao extends BaseDao<Office, Integer> {

	List<Office> search(OfficeListCommand cmd) throws Exception;

	List<Office> listByExam(Exam exam) throws Exception;

	List<Office> getOfficeById(String examId) throws Exception;

}
